package org.springframework.whp.replacedMethod;

import org.springframework.beans.factory.support.MethodReplacer;

import java.lang.reflect.Method;

/**
 * @author wanghp
 * @version 1.0
 * @date 2020/5/18 14:37
 */

public class TestMethodReplacer implements MethodReplacer {
	@Override
	public Object reimplement(Object obj, Method method, Object[] args) throws Throwable {
		System.out.println("-------------我替换了原有的方法");
		return null;
	}
}
